home *** CD-ROM | disk | FTP | other *** search
/ 3D Game Programming All in One / 3D Game Programming All in One Disc.iso / 3D2E / RESOURCES / CH10 / creator / ui / creatorProfiles.cs next >
Text File  |  2005-11-23  |  2KB  |  58 lines

  1. //-----------------------------------------------------------------------------
  2. // Torque Game Engine 
  3. // Copyright (C) GarageGames.com, Inc.
  4. //-----------------------------------------------------------------------------
  5.  
  6. if(!isObject(EditorToolButtonProfile)) new GuiControlProfile (EditorToolButtonProfile)
  7. {
  8.    opaque = true;
  9.    border = 2;
  10. };
  11.  
  12. if(!isObject(EditorTextProfile)) new GuiControlProfile (EditorTextProfile)
  13. {
  14.    fontType = "Arial Bold";
  15.    fontColor = "0 0 0";
  16.    autoSizeWidth = true;
  17.    autoSizeHeight = true;
  18. };
  19.  
  20. if(!isObject(EditorTextProfileWhite)) new GuiControlProfile (EditorTextProfileWhite)
  21. {
  22.    fontType = "Arial Bold";
  23.    fontColor = "255 255 255";
  24.    autoSizeWidth = true;
  25.    autoSizeHeight = true;
  26. };
  27.  
  28. if(!isObject(MissionEditorProfile)) new GuiControlProfile (MissionEditorProfile)
  29. {
  30.    canKeyFocus = true;
  31. };
  32.  
  33. if(!isObject(EditorScrollProfile)) new GuiControlProfile (EditorScrollProfile)
  34. {
  35.    opaque = true;
  36.    fillColor = "192 192 192 192";
  37.    border = 3;
  38.    borderThickness = 2;
  39.    borderColor = "0 0 0";
  40.    bitmap = "common/ui/darkScroll";
  41.    hasBitmapArray = true;
  42. };
  43.  
  44. if(!isObject(GuiEditorClassProfile)) new GuiControlProfile (GuiEditorClassProfile)
  45. {
  46.    opaque = true;
  47.    fillColor = "232 232 232";
  48.    border = true;
  49.    borderColor   = "0 0 0";
  50.    borderColorHL = "127 127 127";
  51.    fontColor = "0 0 0";
  52.    fontColorHL = "32 100 100";
  53.    fixedExtent = true;
  54.    justify = "center";
  55.    bitmap = ($platform $= "macos") ? "common/ui/osxScroll" : "common/ui/darkScroll";
  56.    hasBitmapArray = true;
  57. };
  58.